import request from '@/utils/request'

/**
 * 广告管理-获取广告图列表
 * @param {*} data
 * @returns
 */
export const getAdvListAPI = data => {
  return request({
    url: '/ydd_advimg/list',
    params: data
  })
}

/**
 * 广告管理-删除广告项
 * @param {*} id 广告id
 * @returns
 */
export const delAdvAPI = id => {
  return request({
    url: '/ydd_advimg/del',
    params: { id }
  })
}
